var t = getApp();

Page({
    data: {
        goods_list: []
    },
    onLoad: function(t) {
        t.goods_id && t.task_id && this.getListData(t.goods_id, t.task_id);
    },
    getListData: function(o, n) {
        var a = this, i = t.getNetAddresss("plugin.dealer-task-reward.frontend.controllers.detail.index");
        t._getNetWork({
            url: i,
            data: {
                goods_id: o,
                task_id: n
            },
            success: function(o) {
                var n = o.data;
                if (1 != n.result) return t.tips(n.msg);
                a.setData({
                    goods_list: n.data.goods_list
                }), wx.setNavigationBarTitle({
                    title: n.data.plugin_name
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});